The degree of a polynomial represents the highest degree of a polynominal's terms (with non-zero coefficient), should the polynomial be expressed in canonical form (i.e. as a sum or difference of terms). The degree of an individual term is the sum of the exponents acting on the term's variables. The word degree has been favored for some decades in standard textbooks - but in some older books, the word order may be used instead.
For example, the polynomial has three terms. (Notice, this polynomial can also be expressed as .) The first term has a degree of 5 (the sum of the powers 2 and 3), the second term has a degree of 1, and the last term has a degree of 0. Therefore, the polynomial has a degree of 5 which is the highest degree of any term.
To determine the degree of a polynomial that is not in standard form (for example ) it is easier to expand or express the polynomial into a sum or difference of terms; this may be achieved by multiplying each of its factors, and combining monomial terms. This makes the exponents more obvious, and easier to determine when calculating the degree of the equation. Since, , the degree of the polynomial can be found to be 3.
The following names are assigned to polynomials according to their degree:[1]
The degree of the zero polynomial is either left explicitly undefined, or is defined to be negative (usually −1 or −∞).
The canonical forms of the three examples above are:
The degree of the sum (or difference) of two polynomials is equal to or less than the greater of their degrees i.e.
e.g.
The degree of the product of two polynomials is the sum of their degrees
e.g.
The degree of the composition of two polynomials is the product of their degrees
e.g.
Like any constant value, the value 0 can be considered as a (constant) polynomial, called the zero polynomial. It has no nonzero terms, and so, strictly speaking, it has no degree either. The above rules for the degree of sums and products of polynomials do not apply if any of the polynomials involved is the zero polynomial.
It is convenient, however, to define the degree of the zero polynomial to be minus infinity, −∞, and introduce the rules
and
For example:
The price to be paid for saving the rules for computing the degree of sums and products of polynomials is that the general rule
breaks down when .
The degree of a polynomial f can be computed by the formula
This formula generalizes the concept of degree to some functions that are not polynomials. For example:
Another formula to compute the degree of f from its values is
For polynomials in two or more variables, the degree of a term is the sum of the exponents of the variables in the term; the degree of the polynomial is again the maximum of the degrees of all terms in the polynomial. For example, the polynomial x2y2 + 3x3 + 4y has degree 4, the same degree as the term x2y2.
However, a polynomial in variables x and y, is a polynomial in x with coefficients which are polynomials in y, and also a polynomial in y with coefficients which are polynomials in x.
This polynomial has degree 3 in x and degree 2 in y.
Given a ring R, the polynomial ring R[x] is the set of all polynomials in x that have coefficients chosen from R. In the special case that R is also a field, then the polynomial ring R[x] is a principal ideal domain and, more importantly to our discussion here, a Euclidean domain.
It can be shown that the degree of a polynomial over a field satisfies all of the requirements of the norm function in the euclidean domain. That is, given two polynomials f(x) and g(x), the degree of the product f(x)•g(x) must be larger than both the degrees of f and g individually. In fact, something stronger holds:
For an example of why the degree function may fail over a ring that is not a field, take the following example. Let R = , the ring of integers modulo 4. This ring is not a field (and is not even an integral domain) because 2•2 = 4 (mod 4) = 0. Therefore, let f(x) = g(x) = 2x + 1. Then, f(x)•g(x) = 4x2 + 4x + 1 = 1. Thus deg(f•g) = 0 which is not greater than the degrees of f and g (which each had degree 1).
Since the norm function is not defined for the zero element of the ring, we consider the degree of the polynomial f(x) = 0 to also be undefined so that it follows the rules of a norm in a euclidean domain.